package com.nchuoj.answer;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author GYj
 */
@SpringBootApplication
@MapperScan("com.nchuoj.answer.mapper")
@ComponentScan(basePackages = {"com.nchuoj.answer","com.feign.common.config"})
@EnableFeignClients(basePackages = "com.feign.feign.requests")
public class AnswerApplication {
    public static void main(String[] args) {
        SpringApplication.run(AnswerApplication.class,args);
    }
}
